package xyz.second.personal_info_madule.ChangePassword;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.*;
import xyz.second.database.entity.User;

@RestController
@Api(value = "管理员接口", tags = "管理员-修改密码")
@RequestMapping("/api/leave")
public class administrators_ChangePassword {
    @ApiOperation(value = "修改密码", notes = "修改管理员的密码")
    @PostMapping(value = "/administrators/UpdataPassword")
    public User putPassword(@RequestBody User user){

        System.out.println(user);
        return user;
    }
}
